import App from './App'

//qs
import qs from 'qs'
Vue.prototype.$qs = qs

//导入封装的请求http
import request from "@/common/request"
Vue.prototype.$http = request

//工具js
import Utils from '@/common/utils'
Vue.prototype.$utils = Utils

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {createSSRApp} from 'vue'

export function createApp() {
    const app = createSSRApp(App)
    return {
        app
    }
}
// #endif

// uView-ui
import uView from "uview-ui";
import * as vm from "vm";

Vue.use(uView);

